package com.eam.asset.file.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.eam.common.annotation.Excel;
import com.eam.common.core.domain.BaseEntity;

/**
 * 场地资产档案对象 asset_place
 *
 * @author tzf
 * @date 2023-10-31
 */
public class AssetPlace extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 场地资产id
     */
    @TableId
    private String placeId;

    /**
     * 资产名称
     */
    @Excel(name = "资产名称")
    private String placeName;

    /**
     * 资产地址
     */
    @Excel(name = "资产地址")
    private String placePosition;

    /**
     * 资产来源
     */
    @Excel(name = "资产来源")
    private String placeSource;

    /**
     * 性质
     */
    @Excel(name = "性质")
    private String placeNature;

    /**
     * 状况
     */
    @Excel(name = "状况")
    private String placeStatus;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Long placeNumber;

    /**
     * 获取时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date placeGetDate;

    /**
     * 占地面积
     */
    @Excel(name = "占地面积")
    private BigDecimal placeArea;

    /**
     * 产权人
     */
    @Excel(name = "产权人")
    private String placeOwner;

    /**
     * 资产产权号
     */
    @Excel(name = "资产产权号")
    private String placeWarrant;

    /**
     * 类别
     */
    @Excel(name = "类别")
    private String placeCategory;

    /**
     * 经度
     */
    @Excel(name = "经度")
    private String lon;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private String lat;

    /**
     * 上级id
     */
    @Excel(name = "上级id")
    private Long parentId;

    /**
     * 下级id
     */
    @Excel(name = "下级id")
    private Long sonId;

    /**
     * 场地图片
     */
    @Excel(name = "场地图片")
    private String placeImg;

    /**
     * 处置类别
     */
    @Excel(name = "处置类别")
    private String placeManage;

    /**
     * 档案编码
     */
    @Excel(name = "档案编码")
    private String placeCode;

    /**
     * 资产产权图片
     */
    @Excel(name = "资产产权图片")
    private String placeWarrantImg;
    @TableLogic
    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPlaceId() {
        return placeId;
    }

    public void setPlaceId(String placeId) {
        this.placeId = placeId;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    public String getPlaceName() {
        return placeName;
    }

    public void setPlacePosition(String placePosition) {
        this.placePosition = placePosition;
    }

    public String getPlacePosition() {
        return placePosition;
    }

    public void setPlaceSource(String placeSource) {
        this.placeSource = placeSource;
    }

    public String getPlaceSource() {
        return placeSource;
    }

    public void setPlaceNature(String placeNature) {
        this.placeNature = placeNature;
    }

    public String getPlaceNature() {
        return placeNature;
    }

    public void setPlaceStatus(String placeStatus) {
        this.placeStatus = placeStatus;
    }

    public String getPlaceStatus() {
        return placeStatus;
    }

    public void setPlaceNumber(Long placeNumber) {
        this.placeNumber = placeNumber;
    }

    public Long getPlaceNumber() {
        return placeNumber;
    }

    public void setPlaceGetDate(Date placeGetDate) {
        this.placeGetDate = placeGetDate;
    }

    public Date getPlaceGetDate() {
        return placeGetDate;
    }

    public void setPlaceArea(BigDecimal placeArea) {
        this.placeArea = placeArea;
    }

    public BigDecimal getPlaceArea() {
        return placeArea;
    }

    public void setPlaceOwner(String placeOwner) {
        this.placeOwner = placeOwner;
    }

    public String getPlaceOwner() {
        return placeOwner;
    }

    public void setPlaceWarrant(String placeWarrant) {
        this.placeWarrant = placeWarrant;
    }

    public String getPlaceWarrant() {
        return placeWarrant;
    }

    public void setPlaceCategory(String placeCategory) {
        this.placeCategory = placeCategory;
    }

    public String getPlaceCategory() {
        return placeCategory;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getLon() {
        return lon;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLat() {
        return lat;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setSonId(Long sonId) {
        this.sonId = sonId;
    }

    public Long getSonId() {
        return sonId;
    }

    public void setPlaceImg(String placeImg) {
        this.placeImg = placeImg;
    }

    public String getPlaceImg() {
        return placeImg;
    }

    public void setPlaceManage(String placeManage) {
        this.placeManage = placeManage;
    }

    public String getPlaceManage() {
        return placeManage;
    }

    public void setPlaceCode(String placeCode) {
        this.placeCode = placeCode;
    }

    public String getPlaceCode() {
        return placeCode;
    }

    public void setPlaceWarrantImg(String placeWarrantImg) {
        this.placeWarrantImg = placeWarrantImg;
    }

    public String getPlaceWarrantImg() {
        return placeWarrantImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("placeId", getPlaceId())
                .append("placeName", getPlaceName())
                .append("placePosition", getPlacePosition())
                .append("placeSource", getPlaceSource())
                .append("placeNature", getPlaceNature())
                .append("placeStatus", getPlaceStatus())
                .append("placeNumber", getPlaceNumber())
                .append("placeGetDate", getPlaceGetDate())
                .append("placeArea", getPlaceArea())
                .append("placeOwner", getPlaceOwner())
                .append("placeWarrant", getPlaceWarrant())
                .append("placeCategory", getPlaceCategory())
                .append("lon", getLon())
                .append("lat", getLat())
                .append("parentId", getParentId())
                .append("sonId", getSonId())
                .append("placeImg", getPlaceImg())
                .append("placeManage", getPlaceManage())
                .append("placeCode", getPlaceCode())
                .append("placeWarrantImg", getPlaceWarrantImg())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
